package com.woniu.supermarket.entity;

import java.math.BigDecimal;

public class PurchaseReturnDetail {
    private Integer id;

    private String returnDetailNumber;

    private Integer purchaseReturnId;

    private Integer goodsId;

    private BigDecimal costPrice;

    private Integer quantity;

    private Integer unitId;

    private BigDecimal total;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getReturnDetailNumber() {
        return returnDetailNumber;
    }

    public void setReturnDetailNumber(String returnDetailNumber) {
        this.returnDetailNumber = returnDetailNumber == null ? null : returnDetailNumber.trim();
    }

    public Integer getPurchaseReturnId() {
        return purchaseReturnId;
    }

    public void setPurchaseReturnId(Integer purchaseReturnId) {
        this.purchaseReturnId = purchaseReturnId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public BigDecimal getcostPrice() {
        return costPrice;
    }

    public void setcostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }
}